﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

class CUseMouse
{
    Texture2D texture;
    MouseState currMoustate;
    public void Initializing(ContentManager content)
    {
        texture = content.Load<Texture2D>(@"Img\mouse");
        currMoustate = Mouse.GetState();
    }
    public void Update()
    {
        currMoustate = Mouse.GetState();
    }
    public void Draw(SpriteBatch sb)
    {
        sb.Draw(texture, new Vector2(currMoustate.X - 42, currMoustate.Y - 3), Color.White);
    }

}
